From: Florian Müllner Date: Wed, 6 Aug 2014 14:03:15 +0000 (+0200) Subject: messageTray: Fix RTL handling in notifications X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2276 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=efb9f167bd2efb5afee2fc9532ea9aa38ce04339;p=gnome-shell.git messageTray: Fix RTL handling in notifications Commit 234b90ac866136c2fb1 replaced a member variable with a "local" one, except that it wasn't that local after all ... --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 92135f980..beabb8a71 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -922,7 +922,7 @@ const Notification = new Lang.Class({ let [titleMinH, titleNatH] = this._titleLabel.get_preferred_height(availWidth); let [bannerMinW, bannerNatW] = this._bannerLabel.get_preferred_width(availWidth); - let rtl = (this._titleDirection == Clutter.TextDirection.RTL); + let rtl = (this._table.text_direction == Clutter.TextDirection.RTL); let x = rtl ? availWidth : 0; if (this._secondaryIcon) {